package model

type SupervisorOrderCreateRequest struct {
	Id           int64   `json:"id"`
	ConsultId    int64   `json:"consult_id"`
	Price        float64 `json:"price"`
	DeductCount  float64 `json:"deduct_count"`
	DeductReason string  `json:"deduct_reason"`
	SupervisorId string  `json:"supervisor_id"`
	Status       int     `json:"status"`
	CreatedAt    int64   `json:"created_at"`
	UpdatedAt    int64   `json:"updated_at"`
}
type SupervisorOrderUpdateRequest struct {
	Id           int64    `json:"id"`
	Ids          []int64  `json:"ids"`
	ConsultId    *int64   `json:"consult_id"`
	Price        *float64 `json:"price"`
	DeductCount  *float64 `json:"deduct_count"`
	DeductReason *string  `json:"deduct_reason"`
	SupervisorId *string  `json:"supervisor_id"`
	Status       *int     `json:"status"`
	CreatedAt    *int64   `json:"created_at"`
	UpdatedAt    *int64   `json:"updated_at"`
}
type SupervisorOrderListRequest struct {
	Id            int64    `json:"id"`
	Ids           []int64  `json:"ids"`
	ConsultId     *int64   `json:"consult_id"`
	Price         *float64 `json:"price"`
	DeductCount   *float64 `json:"deduct_count"`
	DeductReason  *string  `json:"deduct_reason"`
	CreatedAt     *int64   `json:"created_at"`
	UpdatedAt     *int64   `json:"updated_at"`
	SupervisorId  *string  `json:"supervisor_id"`
	SupervisorIds []string `json:"supervisor_ids"`
	Status        *int     `json:"status"`
	Index         int      `json:"index"`
	Size          int      `json:"size"`
}
type SupervisorOrderListResponse struct {
	Total int                    `json:"total"`
	List  []*SupervisorOrderInfo `json:"list"`
}
type SupervisorOrderInfoRequest struct {
	Id int64 `json:"id"`
}
type SupervisorOrderInfo struct {
	Id             int64   `json:"id"`
	ConsultId      int64   `json:"consult_id"`
	Price          float64 `json:"price"`
	DeductCount    float64 `json:"deduct_count"`
	DeductReason   string  `json:"deduct_reason"`
	SupervisorId   string  `json:"supervisor_id"`
	SupervisorName string  `json:"supervisor_name"`
	Status         int     `json:"status"`
	CreatedAt      int64   `json:"created_at"`
	UpdatedAt      int64   `json:"updated_at"`
}
type SupervisorOrderDeleteRequest struct {
	Id int64 `json:"id"`
}
